Closed Bug 1792237 Opened 3 years ago Closed 3 years ago

Create a mach command to scaffold a reusable component

Categories

(Firefox Build System :: Mach Core, task)

task

Tracking

(firefox108 fixed)

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: mstriemer, Assigned: mstriemer)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

It would be nice to have a mach command to create the necessary files and poke at jar.mn to get a new widget set up quickly.

Proposal:

./mach addwidget my-component

This will just add the component to toolkit/content/widgets/ for now, but it would be nice to be able to pick another place if you're making a widget for specific area later

The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Mach Core' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Mach Core
Product: Firefox → Firefox Build System
Attachment #9296002 - Attachment description: WIP: Bug 1792237 - ./mach addwidget to scaffold a shared front-end component → WIP: Bug 1792237 - ./mach addwidget to scaffold a shared front-end component r?hjones
Attachment #9296002 - Attachment description: WIP: Bug 1792237 - ./mach addwidget to scaffold a shared front-end component r?hjones → Bug 1792237 - ./mach addwidget to scaffold a shared front-end component r?hjones
Pushed by mstriemer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d64b00aede6d /mach addwidget to scaffold a shared front-end component r=hjones
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
Blocks: 1828181
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: